<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">
   
    <body>

        <ui:composition template="./TemplatePrincipal.xhtml">

            <ui:define name="left">
               
            </ui:define>

            <ui:define name="right">
                
            </ui:define>

            <ui:define name="content">
                <f:view>
                    <p:panel header="Confirmar Autores" footer="Formulario validado">
                    <h:form>
                        
                        <h:panelGrid columns="2">
                            <h:outputText value="Clave:"/>
                            <h:outputText value="#{authorBean.author.clave}" title="Clave"/>
                            <h:outputText value="Nombre:"/>
                            <h:outputText value="#{authorBean.author.nombre}" title="Nombre"/>
                            <h:outputText value="ApellidoPaterno:"/>
                            <h:outputText value="#{authorBean.author.apellidoPaterno}" title="ApellidoPaterno"/>
                            <h:outputText value="ApellidoMaterno:"/>
                            <h:outputText value="#{authorBean.author.apellidoMaterno}" title="ApellidoMaterno"/>
                            <p:commandButton action="#{authorBean.procesarAccion}" value="Guardar" ajax="false"/>
                            <p:commandButton action="AutorCrearEditar" value="Cancelar" ajax="false"/>
                        </h:panelGrid>
                    </h:form>
                    </p:panel>
                </f:view>
            </ui:define>
        </ui:composition>

    </body>
</html>
